package com.gxa.logistics.service;

import com.gxa.logistics.common.base.PageWrapperDTO;
import com.gxa.logistics.common.base.RespResult;
import com.gxa.logistics.domain.dto.*;
import com.gxa.logistics.domain.vo.CableVO;
import com.gxa.logistics.domain.vo.SpareVO;
import org.springframework.stereotype.Service;


public interface SpareService {

    RespResult<PageWrapperDTO<SpareVO>> list(SpareoReqListDTO spareoReqListDTO);

    RespResult<PageWrapperDTO<SpareVO>> list(SparetReqListDTO sparetReqListDTO);

    void updateSpare1(Integer item_num);

    void updateSpare2(Integer item_num);
    RespResult<PageWrapperDTO<SpareVO>> list(SpareReqListDTO spareReqListDTO);

    void insertSpare(SpareSaveDTO spareSaveDTO);

    void updateSpare(SpareUpdateDTO spareUpdateDTO);

    void deleteSpareByitemName(String item_name);
}
